package com.ruoyi.project.anquan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 设备对象 equipment
 * 
 * @author ruoyi
 * @date 2020-05-18
 */
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long eqId;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private Integer eqType;

    /** 检修周期 */
    @Excel(name = "检修周期")
    private Integer eqRepairCycle;

    /** 检测周期 */
    @Excel(name = "检测周期")
    private Integer eqCheckCycle;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String eqName;

    /** 保养周期 */
    @Excel(name = "保养周期")
    private Integer eqGuaranteeCycle;

    /** 报废年限(月) */
    @Excel(name = "报废年限(月)")
    private Integer eqScrapDate;

    /** 设备状态（1使用 2停用 3维修 4报废） */
    @Excel(name = "设备状态", readConverterExp = "1=使用,2=停用,3=维修,4=报废")
    private Integer eqStatus;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String eqNum;

    /** 备注 */
    private String eqRemarks;

    /** $column.columnComment */
    private String other;

    /** $column.columnComment */
    private String other1;

    /** $column.columnComment */
    private String other2;

    /** $column.columnComment */
    private String other3;

    /** $column.columnComment */
    private String other4;

    /** $column.columnComment */
    private String other5;

    public void setEqId(Long eqId) 
    {
        this.eqId = eqId;
    }

    public Long getEqId() 
    {
        return eqId;
    }
    public void setEqType(Integer eqType) 
    {
        this.eqType = eqType;
    }

    public Integer getEqType() 
    {
        return eqType;
    }
    public void setEqRepairCycle(Integer eqRepairCycle) 
    {
        this.eqRepairCycle = eqRepairCycle;
    }

    public Integer getEqRepairCycle() 
    {
        return eqRepairCycle;
    }
    public void setEqCheckCycle(Integer eqCheckCycle) 
    {
        this.eqCheckCycle = eqCheckCycle;
    }

    public Integer getEqCheckCycle() 
    {
        return eqCheckCycle;
    }
    public void setEqName(String eqName) 
    {
        this.eqName = eqName;
    }

    public String getEqName() 
    {
        return eqName;
    }
    public void setEqGuaranteeCycle(Integer eqGuaranteeCycle) 
    {
        this.eqGuaranteeCycle = eqGuaranteeCycle;
    }

    public Integer getEqGuaranteeCycle() 
    {
        return eqGuaranteeCycle;
    }
    public void setEqScrapDate(Integer eqScrapDate) 
    {
        this.eqScrapDate = eqScrapDate;
    }

    public Integer getEqScrapDate() 
    {
        return eqScrapDate;
    }
    public void setEqStatus(Integer eqStatus) 
    {
        this.eqStatus = eqStatus;
    }

    public Integer getEqStatus() 
    {
        return eqStatus;
    }
    public void setEqNum(String eqNum) 
    {
        this.eqNum = eqNum;
    }

    public String getEqNum() 
    {
        return eqNum;
    }
    public void setEqRemarks(String eqRemarks) 
    {
        this.eqRemarks = eqRemarks;
    }

    public String getEqRemarks() 
    {
        return eqRemarks;
    }
    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }
    public void setOther1(String other1) 
    {
        this.other1 = other1;
    }

    public String getOther1() 
    {
        return other1;
    }
    public void setOther2(String other2) 
    {
        this.other2 = other2;
    }

    public String getOther2() 
    {
        return other2;
    }
    public void setOther3(String other3) 
    {
        this.other3 = other3;
    }

    public String getOther3() 
    {
        return other3;
    }
    public void setOther4(String other4) 
    {
        this.other4 = other4;
    }

    public String getOther4() 
    {
        return other4;
    }
    public void setOther5(String other5) 
    {
        this.other5 = other5;
    }

    public String getOther5() 
    {
        return other5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eqId", getEqId())
            .append("eqType", getEqType())
            .append("eqRepairCycle", getEqRepairCycle())
            .append("eqCheckCycle", getEqCheckCycle())
            .append("eqName", getEqName())
            .append("eqGuaranteeCycle", getEqGuaranteeCycle())
            .append("eqScrapDate", getEqScrapDate())
            .append("eqStatus", getEqStatus())
            .append("eqNum", getEqNum())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("eqRemarks", getEqRemarks())
            .append("other", getOther())
            .append("other1", getOther1())
            .append("other2", getOther2())
            .append("other3", getOther3())
            .append("other4", getOther4())
            .append("other5", getOther5())
            .toString();
    }
}
